package index;

public class instanceOfStudentC {
    public static void main(String[] args) {
        //给这个学生Studentc 实例化
        //创建学生对象
        //创建了一个stu1的学生对象
        StudentC stu1=new StudentC();
        stu1.name="xiaoming";
        stu1.age=20;
        stu1.gender="male";
        stu1.height=1.65;
        System.out.println(stu1.name);
        System.out.println(stu1.age);
        System.out.println(stu1.gender);
        System.out.println(stu1.height);
        stu1.study();
        stu1.eat();
        stu1.PlayGame();
        stu1.sleep();
    }
}
